obj-m += 1_syscall.o

obj-m += 2_self_syscall.o
2_self_syscall-y = 2_syscall_自定义系统调用.o

PWD := $(CURDIR)
all:
	$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
	$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean